package com.ljc.search.mq;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: ljc
 * @Date:Created in 10:06 2022/2/24
 */
@Data
@AllArgsConstructor
public class PostMqIndexMessage  implements Serializable {
    //两种消息type
    public final static String CREATE_OR_UPDATE="create_or_update";
    public final static String REMOVE="remove";

    private  Long postId;
    private String type;


}
